<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>ajax和MySQL</title>
    <script src="selectusr.js"></script>
</head>
<body>

<form>
    请选择一个用户：
    <select name="users" onchange="showUser(this.value)">
        <option value="1">Peter Griffin</option>
        <option value="2">Lois Griffin</option>
        <option value="4">Glenn Quagmire</option>
        <option value="3">Joseph Swanson</option>
    </select>
</form>

<p>
    <div id="txtHint"><b>用户信息将会被列在这里</b></div>
</p>

</body>
</html>